package com.ruoyi.system.domain;

import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 施工公告对象 construction_announcement
 *
 * @author ruoyi
 * @date 2021-06-22
 */
public class ConstructionAnnouncement extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id */
    private Long caId;

    /** 类型 */
    @Excel(name = "类型")
    private String caType;

    /** 标题 */
    @Excel(name = "标题")
    private String caTitle;

    /** 内容 */
    @Excel(name = "内容")
    private String caContent;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "创建时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date caCreatetime;

    /** 地址 */
    @Excel(name = "地址")
    private String caAddress;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date caStarttime;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd HH:mm:ss")
    private Date caEndtime;

    public void setCaId(Long caId)
    {
        this.caId = caId;
    }

    public Long getCaId()
    {
        return caId;
    }
    public void setCaType(String caType)
    {
        this.caType = caType;
    }

    public String getCaType()
    {
        return caType;
    }
    public void setCaTitle(String caTitle)
    {
        this.caTitle = caTitle;
    }

    public String getCaTitle()
    {
        return caTitle;
    }
    public void setCaContent(String caContent)
    {
        this.caContent = caContent;
    }

    public String getCaContent()
    {
        return caContent;
    }
    public void setCaCreatetime(Date caCreatetime)
    {
        this.caCreatetime = caCreatetime;
    }

    public Date getCaCreatetime()
    {
        return caCreatetime;
    }
    public void setCaAddress(String caAddress)
    {
        this.caAddress = caAddress;
    }

    public String getCaAddress()
    {
        return caAddress;
    }
    public void setCaStarttime(Date caStarttime)
    {
        this.caStarttime = caStarttime;
    }

    public Date getCaStarttime()
    {
        return caStarttime;
    }
    public void setCaEndtime(Date caEndtime)
    {
        this.caEndtime = caEndtime;
    }

    public Date getCaEndtime()
    {
        return caEndtime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
                .append("caId", getCaId())
                .append("caType", getCaType())
                .append("caTitle", getCaTitle())
                .append("caContent", getCaContent())
                .append("caCreatetime", getCaCreatetime())
                .append("caAddress", getCaAddress())
                .append("caStarttime", getCaStarttime())
                .append("caEndtime", getCaEndtime())
                .toString();
    }
}